package com.xh.bussiness.textbook.service;


import com.xh.bussiness.textbook.bean.dto.TextbookInfoDto;
import com.xh.bussiness.textbook.bean.request.AddTextbookRequest;
import com.xh.bussiness.textbook.bean.request.QueryTextbookRequest;
import com.xh.bussiness.textbook.model.Textbook;
import com.xh.core.bean.XhPage;
import com.xh.core.service.IBaseService;

/**
 * <p>
 * 讲义相关
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/9/26
 */
public interface ITextbookService extends IBaseService<Textbook> {

    /**
     * 新增讲义
     */
    String addTextbook(AddTextbookRequest request);

    /**
     * 分页查询
     */
    XhPage<Textbook> queryTextbookPage(XhPage page,QueryTextbookRequest request);

    /**
     * 讲义详情
     */
    TextbookInfoDto getTeachingBookById(String id);
}
